package com.ypc.user2.service;

import com.ypc.user2.dao.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    UserMapper userMapper;

    public Boolean isUserAvailable(Long uid){
        if (userMapper.isUserAvailable(uid)!=null){
            return true;
        }
        return false;
    }

}
